You have now learned all you should know about generating single references and taking complete control of the way in which they generate reference marks. However, you still do not know everything about the way in which PHYZZX can handle references. This is because we have not yet discussed the question of multiple references.
What is a multiple reference? and Why should I care about
multiple references? you ask.
Good question!
In principle you don't need to care about them at all.
You already have the basic tools for handling any referencing problem
should the need arise, all you need to do is
use the commands
REF and
refmark.
Nevertheless, since multiple references occur frequently, especially
in experimental papers, they merit a special
construct to make them simpler to handle.
The problem of generating multiple references comes up
when you reach a point in the text where you wish to
add a reference to several authors and at the same time
you do not wish to have this saved as a single reference.
This may happen for several reasons, the principal reason
being that you may wish to refer to some of these references
individually at a later point in the text.
In this case there exists a set of commands which allow you
to do this.
These commands allow you to tell TEX that the material to
follow will define and name several references.
They assign a number to each of these references,
store them away individually and then attach the reference mark
{ number of first ref. in set – number of last ref. in set}
The presence or absence of delimiters (in the form of brackets) depends
upon whether or not you have typed
PHYSREV.
The commands which perform this service are
REFS
name{ text }
REFSCON
name{ text }
and
refsend .
To use these commands to generate multiple references you invoke
them sequentially.
For example, suppose you wish the next three references to form
a single multiple reference.
Begin by selecting the word to which you wish to attach the
reference mark.
After the word to which you wish to attach the appropriate
reference mark, you type in the first reference
=0
This is the first reference of a series.
The papers just mentioned are unimaginative,
stupid, incorrect and besides I did it first.
I am running out of references.
by typing
REFS
first{ This is the first reference of a series. }
You then type the next reference using the command
REFSCON
as follows
REFSCON
second}{ The papers just mentioned are unimaginative,
stupid, incorrect and besides I did it first.}
In the same way you continue with
REFSCON to generate
all succeeding references.
Hence, to input the third reference you type
REFSCON
third{ I am running out of references. }
You finally cause PHYZZX to generate the reference mark by
typing
refsend
after the closing brace of the last reference.
As you see, this set of macros has kept track of the numbers
of the references, filed the text for
each reference away and finally combined the number of the first
and last reference in the set into a single reference mark and
attached it to the word typing.
To see what has been filed away we type
refout
and obtain
If you wish to generate an automatically numbered multiple
reference but have no need to name the individual references
then we provide the commands
refs and
refscon.
The syntax of these commands are
refs{ text }
and
refscon{ text }
The command
refs{ text } is equivalent
to
REFS
?{ text }
and the command
refscon{ text }
is equivalent to
REFSCON
?{ text }.
The fact that the name
? is assigned
to each reference in turn makes it less useful than in the command
ref and so you would not tend to use this command unless
you are typing an already finalized manuscript.